from django.db import models

# Create your models here.
class Test(models.Model):
    name = models.CharField(max_length=64)

class Test2(models.Model):
    name=models.CharField(max_length=64)
    def __str__(self):
        return self.name

class Stdent(models.Model):
    student=models.ForeignKey('Test')
    testcolum=models.CharField(max_length=64)
    testcolum2=models.ForeignKey('Test2')